package com.yangrong.newsservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yangrong.common.utils.PageUtils;
import com.yangrong.newsservice.entity.NewsEntity;

import java.util.List;
import java.util.Map;

/**
 * 微鲸新闻列表
 *
 * @author yangrong
 * @email 455833224@qq.com
 * @date 2020-08-26 15:21:07
 */
public interface NewsService extends IService<NewsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<String> getListType();

    List<NewsEntity> getNewsListByType(Map<String, Object> params);

    Integer getAllNewsSize(Map<String, Object> params);

    List<NewsEntity> getMore(Map<String, Object> params);

    String getContent(String title);
}

